package homework.day07.bean;

/**
 * @author ThinkBook
 */
public class Manager extends Employee{
    private String name;
    private int BaseSalary;
    private double wages ;
    public Manager(String name, String gender, String years, int BaseSalary){
        super(name,gender,years);
        this.name = name;
        this.BaseSalary = BaseSalary;
    }
    @Override
    public void computeSalary(){
        wages = BaseSalary;
        System.out.println("经理"+name+"本月工资为"+wages);
    }
}
